package net.xuej.swfbuilder{
	
	/**
	 * 链接 info
	 * @author xuej
	 * 
	 */
	public class LinkInfo{
		
		/**
		 * 下标
		 */
		public var index:int;
		/**
		 * 链接名
		 */
		public var name:String;
		
		/**
		 * 链接类型
		 * @see EntityType
		 */
		public var type:String;
		
		/**
		 * 链接info
		 * @param name
		 * @param type
		 * 
		 */
		public function LinkInfo(name:String,type:String,index:int){
			this.name = name;
			this.type = type;
			this.index = index;
		}
		
		public function get className():String{
			return EntityType.getClass(type);
		}
	}
}